package org.csu.agrisupply.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("orderitem")
public class OrderItem {
    @TableId(value = "orderId",type = IdType.INPUT)
    private String orderId;
    @TableField(value = "itemName")
    private String itemName;
    private double price;
    @TableField(value = "qty")
    private int quantity;
}
